<?php
/*
Template Name: instalaciones
*/

get_header(); ?>

    <?php include ('menu.php') ?>

    <div class="main-content">
        <div class="home">
            <div class="offers">
                <h2>Instalaciones</h2>
                <div class="offer-item">
                    <?php

                    ?>
                    <?php get_header(); ?>
                    <?php 
                    if ( have_posts() ) : while ( have_posts() ) : the_post();?>
                        <div>
                            <img src="<?php echo postImage(get_the_ID()); ?>" />
                            <?php echo the_content(); ?>    
                        </div> 
                    <?php
                    endwhile; else: ?>
                    <p>Sorry, no posts matched your criteria.</p>
                    <?php endif; ?>
                    <?php get_footer(); ?>
                </div>
                <div class="clearfix"></div>                
            </div>
        </div>
    </div>

    <? include('sidebar-right.php') ?>
</div>
<?php get_footer(); ?>
